package com.kkm.dao;

import com.kkm.pojo.Order;
import com.kkm.pojo.Song;
import com.kkm.pojo.SongList;

import java.util.List;
import java.util.Map;

public interface SongListDao {
    //展示所有订单
    List<SongList> showAll(int index, int rows);

    int checkSongListCount();
    //根据名字查询订单
    int checkSongListNum(Map<String, String[]> condition);

    List<SongList> checkSongList(Map<String, String[]> condition, int index, int rows);

    void deleteSongList(int sid);


    SongList SongListById(int id);
    //修改用户
    void modifySongList(String address, int sid);

    void addSongList(String title, String pic, String introduction, String style);

    int checkMusicListCount(String slid);

    List<Song> showMusicListSong(String slid, int index, int rows);
}
